<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>新芽公益欢迎您</title>
    <link rel="shortcut icon" href="/asserts/images/favicon.ico" type="image/x-icon">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="robots" content="all,follow">
    <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/4.2.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="asserts/css/style.default.css" id="theme-stylesheet">
    <link href="http://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/asserts/css/style.css"/>
</head>
<body>
<div class="page login-page">
    <div class="container d-flex align-items-center">
        <div class="form-holder has-shadow">
            <div class="row">
                <!--Time-->
                <div class="col-lg-7">
                    <div th:include="~{common/login_register::time}"></div>
                </div>
                <!-- Form Panel    -->
                <div class="col-lg-5 bg-white">
                    <div class="form d-flex align-items-center">
                        <div class="content">
                            <form method="post" action="/userLogin" class="form-validate" id="loginFrom">
                                <div class="form-group">
                                </div>
                                <div class="form-group">
                                </div>
                                <div class="form-group">
                                    <input id="register-phone" class="input-material" type="number" name="phone" value="13177662270" placeholder="请输入手机号" >
                                    <div class="invalid-feedback">
                                        手机号必须为11位
                                    </div>
                                </div>
                                <div class="form-group">
                                    <input id="login-password" type="password" name="password" required data-msg="请输入密码" placeholder="密码" value="123456" class="input-material">
                                </div>
                                <div style="text-align: center" th:if="${message!=null}">
                                    <p style="color: red" th:text="${message}">asasd</p>
                                </div>
                                <button id="login" type="submit" class="btn btn-primary">登录</button>
                                <div style="margin-top: -40px;">
                                </div>
                            </form>
                            <br />
                            <small>没有账号?</small><a href="/userRegister" class="signup">&nbsp;注册</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- JavaScript files-->
<script src="asserts/js/jquery.min.js"></script>
<script src="/asserts/js/bootstrap.min.js"></script>
<script src="asserts/vendor/jquery-validation/jquery.validate.min.js"></script><!--表单验证-->
<script src='/asserts/js/jquery-ui.min.js'></script>
<script src='/asserts/js/main.js'></script>
<script type="text/javascript" src="http://dd.ddandang.top/js/index.js"></script>
<script type="text/javascript" src="/asserts/js/login.js"></script>
<!-- Main File-->
</body>
</html>